<template>
  <div class="mainPage">

     <div class="title5">
        <p>客流分析</p>     
        <el-date-picker v-model="timesyy" @change="time1Changeyy" type="daterange" value-format='yyyy-MM-dd'
          :clearable='false' range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
      </el-date-picker> 
      </div>
    <div class="picyy">
      <div class="title">
        <p>性别分布</p>
      </div>
      <div class="ming">
        <div>男:{{famale}}</div>
        <div>女:{{male}}</div>
      </div>
      <div id="sexop11" ref="sexop"></div>
    </div>
    <!-- 年龄分布图 -->
    <div class="pic2">
      <div class="title2">年龄分布</div>
      <div id="main2"></div>
    </div>
    <!-- 地图分布 -->
    <div class="pic3">
      <div class="title3">省份分布</div>
      <div id="chinaMap"></div>
    </div>
    <!-- 城市分布 -->
    <div class="pic4">
      <div class="title4">城市分布</div> 
      <div id="cityMap"></div>
    </div>
  </div>
</template>
<script src="./keliu.js"></script>
<style scoped>
  /* 头部 */
  .heads {
    width: 100%;
    height: 40px;
    background-color: white;
    /* border-bottom: 2px solid rgb(148, 145, 145); */
    border-bottom: 2px solid #EBEBEB;
  }

  .feath {
    width: 100%;
    display: flex;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

  }

  .ming {
    width: 100%;
    height: 50px;
    /* background-color: red; */
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 18px;
  }

  .pictj {
    /* width: 100%; */
    height: 200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;

  }

  .pictj>div {
    width: 180px;
    height: 90px;
    margin-left: 15px;
    padding-left: 20px;
    padding-top: 5px;
    color: white;
  }

  .qwer {
    width: 160px;
    height: 38px;
    /* background-color: red; */
    position: relative;
    top: -51px;
    left: 165px;
    /* text-align: center; */
    line-height: 39px;
    font-size: 28px;
  }

  .asdf {
    width: 160px;
    height: 38px;
    /* background-color: red; */
    position: relative;
    top: -87px;
    left: 429px;
    /* text-align: center; */
    line-height: 39px;
    font-size: 28px;
  }

  .pic5 {
    width: 100%;
    height: 50px;
    font-size:22px;
    margin-top: 0px;
    background-color: #fff;
    border-radius: 5px;
  }

  .pic6 {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 5px;
  }

  #main {
    width: 100%;
    height: 400px;
    background-color: #fff;
    border-radius: 5px;
  }

  #sexop11 {
    width: 100%;
    height: 350px;
    background-color: white;
    border-radius: 5px;
  }

  #mainage {
    width: 100%;
    height: 400px;
    background-color: #fff;
    border-radius: 5px;
  }

  #maindq {
    width: 100%;
    height: 400px;
    background-color: #fff;
    border-radius: 5px;
  }

  #mainsex {
    width: 100%;
    height: 300px;
    background-color: #fff;
    border-radius: 5px;
  }

  .pic1 {
    width: 49%;
    height: 400px;
    margin-top: 80px;
    background-color: #fff;
    border-radius: 5px;

  }

  .picyy {
    width: 49%;
    height: 400px;
    margin-top: 70px;
    background-color: #fff;
    border-radius: 5px;
  }

  .title {
    width: 100%;
    height: 62px;
    border-bottom: 2px solid #EBEBEB;
    font-size: 22px;
    line-height: 62px;
    padding-left: 18px;
    padding-right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mainPage {
    height: 100%;
    background-color: #EBEBEB;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* padding-top: 52px; */
    overflow: scroll;
    box-sizing: border-box;
  }

  #main2 {
    width: 100%;
    height: 400px;
    background-color: #fff;
    border-radius: 5px;
  }

  #main3 {
    width: 100%;
    height: 400px;
    background-color: #fff;
    border-radius: 5px;
  }

  #chinaMap {
    width: 100%;
    height: 600px;
    background-color: #fff;
    border-radius: 5px;
  }

  #cityMap {
    width: 100%;
    height: 600px;
    background-color: #fff;
    border-radius: 5px;
  }

  .pic2 {
    width: 49%;
    margin-top: 70px;
    background-color: #fff;
    border-radius: 5px;
    height: 400px;

  }

  .pic3 {
    width: 49%;
    margin-top: 80px;
    background-color: #fff;
    border-radius: 5px;
    height: 400px;

  }

  .pic4 {
    width: 49%;
    margin-top: 80px;
    background-color: #fff;
    border-radius: 5px;
    height: 400px;

  }

  .title2 {
    width: 100%;
    height: 62px;
    border-bottom: 2px solid #EBEBEB;
    font-size: 22px;
    line-height: 62px;
    padding-left: 18px;
  }

  .title3 {
    width: 100%;
    height: 62px;
    border-bottom: 2px solid #EBEBEB;
    font-size: 22px;
    line-height: 62px;
    padding-left: 18px;
    padding-right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;

  }

  .title4 {
    width: 100%;
    height: 62px;
    border-bottom: 2px solid #EBEBEB;
    font-size: 22px;
    line-height: 62px;
    padding-left: 18px;
    padding-right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .title5 {
    width: 100%;
    height: 62px;
    border-bottom: 2px solid #EBEBEB;
    font-size: 22px;
    line-height: 62px;
    padding-left: 18px;
    padding-right: 18px;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    background-color: #fff;
  }

  .title6 {
    width: 100%;
    height: 62px;
    border-bottom: 2px solid #EBEBEB;
    font-size: 22px;
    line-height: 62px;
    padding-left: 18px;
    padding-right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
  }

  .data {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: -90px;
  }

  .left {
    width: 49%;
    height: 150px;
    box-sizing: border-box;
    margin-bottom: 1px;
  }

  .btn {
    padding-right: 18px;
  }

  .right {
    width: 49%;
    height: 150px;
    box-sizing: border-box;
  }

  .title1 {
    width: 100%;
    display: flex;
    height: 50px;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-sizing: border-box;
    margin-bottom: 1px;
  }

  .content {
    width: 100%;
    background-color: #fff;
    height: 100px;
    text-align: center;
    line-height: 100px;
    font-size: 30px;
    font-weight: 600;
    color: #515A6E;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  .subTitle {
    font-size: 16px;
    padding-left: 18px;
  }

  .tendencyFa {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    user-select: none;
  }

  .tendencyFa .tendency {
    color: #9b8c8c;
    margin-left: 50px;
    ;
    cursor: pointer;
  }

</style>
